<!--<span class = "unocart_name_cat">{$name_categ}</span>-->
{if count($lists_categ)}
    <table class = "unocart">
        <tr>
        {foreach from=$lists_categ item=category name=catfor}
            <td class = "unocart_categ" width = "{math equation="100/count" count=$count_category_to_row}%">
	            <table class = "unocart">
		            <tr>
		                <td>
			                <a href = "{$category->category_link}">
                                {$category->category_name}
                                <br /><br />
                                <img class = "unocart_img" src = "{$image_category_path}/{if $category->category_image}{$category->category_image}{else}{$no_image}{/if}" />
                            </a>
                            <br /><br />
                            {$category->category_description}
		                </td>
		            </tr>
	            </table>
	        </td>
	        {if $smarty.foreach.catfor.iteration % $count_category_to_row == 0}
                </tr>
                <tr>
            {/if}
        {/foreach}
        </tr>
    </table>
{/if}

<!--<hr class = "unocart_line" />-->


{if count ($lists_prod)}
    <form action = "{$action}" method = "post" name = "sort_count" id = "sort_count">
        <table class  = "unocart">
            <tr>
                <td>
                    {$smarty.const._UNOCART_ORDER_BY}{$sorting}<img style = "cursor:pointer" src = "{$image_path}/{$image_arr}" alt = "orderby" onclick = "changeSortCountProducts(1)" />
                    {$smarty.const._UNOCART_DISPLAY_NUMBER}{$product_count}
                </td>
            </tr>
        </table>
        <input type = "hidden" name = "orderby" id = "orderby" value = "{$orderby}" />
    </form>
    <table class = "unocart" style = "margin-top:20px">
        <tr>
            <td>
                <span class = "cat_select">{$smarty.const._UNOCART_PRODUCT_OVERVIEW}</span>
            </td>
        </tr>
    </table>
    <table class = "unocart" style = "margin-top:40px">
        <tr>
        {foreach from=$lists_prod item=product name=prodfor}
            <td width = "{math equation="100/count" count=$count_product_to_row}%" class = "unocart_categ">
                <table class = "unocart">
                    <tr>
                        <td rowspan = "3" style="padding-right: 5px; vertical-align: top" width="20">
                            <table class = "unocart">
                                <tr>
                                    <td style="padding: 2px;">
                                        <a href="{$product->product_link}">
                                            <img class = "unocart_img" src = "{$image_product_path}/{if $product->product_thumb_image}{$product->product_thumb_image}{else}{$no_image}{/if}" alt="{$product->product_name}" />
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td style = "text-align: left; vertical-align: top; width: 75%; height: 20px; padding-top: 3px;">
                            <a href="{$product->product_link}">
                                {$product->product_name}
                            </a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div style="font-size: 11px; padding-right: 5px;">
                                {$product->product_short_description}
                            </div>
                            <br />
                            <table border="0">
                                <tr>
                                    <td>
                                        {$smarty.const._UNOCART_PRICE} &nbsp;
                                    </td>
                                    <td>
                                        <div class = "unocart_price">
                                            {format_price price = $product->product_price}
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-right: 20px; text-align: right; height: 24">
                            <a href="{$product->product_link}">
                                {$smarty.const._UNOCART_DETAIL}
                            </a>
                        </td>
                    </tr>
                </table>
            </td>
            {if $smarty.foreach.prodfor.iteration % $count_product_to_row == 0}
                </tr>
                <tr>
                    <td colspan = "{$count_product_to_row}">
                        <hr />
                    </td>
                </tr>
                <tr>
	        {/if}
        {/foreach}
        </tr>
    </table>
{/if}

{if $navigation_products}
    <table width = "100%">
        <tr>
            <td style = "text-align:center">
                {$navigation_products}
            </td>
        </tr>
    </table>
{/if}